<!DOCTYPE html>
<html ng-app="phonecatApp">

	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="bootstrap6.css" />
		<link rel="stylesheet" type="text/css" href="app6.css" />
		<script src="../js/angular.js"></script>
		<script type="text/javascript" src="controllers6.js"></script>
		<title>第6步</title>
	</head>

	<body ng-controller="PhoneListCtrl">

		<div class="container-fluid">
			<div class="row">
				<div class="col-md-2">
					<!--Sidebar content-->

					Search:
					<input ng-model="query"> Sort by:
					<select ng-model="orderProp">
						<option value="name">Alphabetical</option>
						<option value="age">Newest</option>
					</select>

				</div>
				<div class="col-md-10">
					<!--Body content-->

					<ul class="phones">
						<li ng-repeat="phone in phones | filter:query | orderBy:orderProp" class="thumbnail">
							<a href="#/phones/{{phone.id}}" class="thumb"><img ng-src="../{{phone.imageUrl}}"></a>
							<a href="#/phones/{{phone.id}}">{{phone.name}}</a>
							<p>{{phone.snippet}}</p>
						</li>
					</ul>

				</div>
			</div>
		</div>

	</body>

</html>